Sets our main struct and passes it to the parent class.
Creates a new AdwComboRow.
Get the main Gtk struct
Gets the expression used to obtain strings from items.
Gets the factory that's currently used to populate list items.
Gets the factory that's currently used to populate list items in the popup.
Gets the model that provides the displayed items.
Gets the position of the selected item.
Gets the selected item.
the main Gtk struct as a void*
Gets whether to use the current value as the subtitle.
Sets the expression used to obtain strings from items.
Sets the GtkListItemFactory to use for populating list items.
Sets the GtkListItemFactory to use for populating list items in the popup.
Sets the [iface@Gio.ListModel] to use.
Selects the item at the given position.
Sets whether to use the current value as the subtitle.
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Activates @self.
Adds a prefix widget to @self.
Adds a suffix widget to @self.
Gets the widget activated when @self is activated.
Gets the icon name for @self.
Gets the subtitle for @self.
Gets the number of lines at the end of which the subtitle label will be ellipsized.
Gets the number of lines at the end of which the title label will be ellipsized.
Removes a child from @self.
Sets the widget to activate when @self is activated.
Sets the icon name for @self.
Sets the subtitle for @self.
Sets the number of lines at the end of which the subtitle label will be ellipsized.
Sets the number of lines at the end of which the title label will be ellipsized.
This signal is emitted after the row has been activated.
A [class@Gtk.ListBoxRow] used to choose from a list of items.
<picture> <source srcset="combo-row-dark.png" media="(prefers-color-scheme: dark)"> <img src="combo-row.png" alt="combo-row"> </picture>
The AdwComboRow widget allows the user to choose from a list of valid choices. The row displays the selected choice. When activated, the row displays a popover which allows the user to make a new choice.
AdwComboRow mirrors [class@Gtk.DropDown], see that widget for details.
AdwComboRow is [property@Gtk.ListBoxRow:activatable] if a model is set.
CSS nodes
AdwComboRow has a main CSS node with name row and the .combo style class.
Its popover has the node named popover with the .menu style class, it contains a [class@Gtk.ScrolledWindow], which in turn contains a [class@Gtk.ListView], both are accessible via their regular nodes.
Accessibility
AdwComboRow uses the GTK_ACCESSIBLE_ROLE_COMBO_BOX role.